<template>
  <div>
    <h1>我是哥哥</h1>
    <h2>我开的车是{{car}}</h2>
    <button @click="changeCar('布加迪-凯龙')">今年小赚1E,买了新车</button>
  </div>
</template>

<script>
export default {
  name: "Gege",
  props:['car','changeCar']
}
</script>

<style scoped>

</style>